<?php

use Illuminate\Database\Seeder;
use Cartalyst\Sentinel\Laravel\Facades\Sentinel;

class AdminsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$user = Sentinel::registerAndActivate([
    		'username' => 'admin01',
    		'password' => 'admin01',
            'last_name' => '方',
            'first_name' => '健鹏'
    	]);


        $user = Sentinel::registerAndActivate([
            'username' => 'user01',
            'password' => 'user01',
            'last_name' => '测',
            'first_name' => '试'
        ]);
    }

}
